import request from '/src/utils/request.js'

// 新增/修改运费模板
export const requestAddTemplate = ({value: data}) => {
    return request({
        url: '/manager/carriages',
        method: 'post',
        data
    })
}
// 删除运费模板
export const delCarriages = (id) => {
    return request({
        url: `/manager/carriages/${id}`,
        method: 'delete'
    })
}
